First go to github and create an account
Next, following the instructions at set-up-git to download and setup git.
It is important to set your username and password
# Sets the default name for git to use when you commit
git config --global user.name "Your Name Here
# Sets the default email for git to use when you commit
git config --global user.email "your_email@youremail.com
A sanity check to make sure that has worked is to check the ~/.gitconfig file
cat ~/.gitconfig
There was an error while loading. Please reload this page.