Git
Information pertaining to the installation, configuration, and use of Git with the World Smiths server.
Installation
Below are links to individual installation walk-throughs for each operating system. These instructions are for how to install the official git commandline utility. Many GUI applications also install git automatically for the user but the results are not always consistent. For this reason we suggest installing the CLI as a baseline and then adding any GUI tools you may want after you’ve confirmed everything works.
Windows
There are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go here and the download will start automatically.
Note that this is a project called Git for Windows, which is separate from Git itself; click here for more information on it.
To get an automated installation you can use the Git Chocolatey package. Note that the Chocolatey package is community maintained.
Mac
Most Mac machines will have git installed by default. To determine what version of git you already have try to run git from the terminal.
$ git --version
If you don’t have it installed already, it will prompt you to install it.
If you want a more up to date version, you can also install it via a binary installer. A macOS Git installer is maintained and available for download at the Git website.
Linux
If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the package management tool that comes with your distribution. If you’re on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use dnf:
$ sudo dnf install git-all
If you’re on a Debian-based distribution, such as Ubuntu, try apt:
$ sudo apt install git-all
For more options, there are instructions for installing on several different Unix distributions on the Git website.
LFS
Git LFS is an extension for git-scm that helps with the management of large files and files that don’t handle text based diffs well. For instructions on how to download and install Git LFS, visit their page,
The world repository template includes a prebuilt .gitattributes file which tracks common files that should utilize LFS by default.
Configure LFS for Your Account
git lfs install
If that doesn’t work, try:
git-lfs install
Resources
Using Git
Check out this 15 minute video tutorial for beginners (or the text version). These guides cover installation and basic use.
A YouTube guide for visual studio code users.