References:
Install
sudo pacman -S --needed git
Create a config file
nano ~/.gitconfig
Add
[user]
name = Your name
email = your_email@gmail.com
[github]
user = your_username
[color]
ui = true
[alias]
tip = log -1 HEAD
s = status -uno