git Common Aliases
git status, git add, git commit, and git checkoutare such common commands that it is useful to have abbreviations for them.
Add the following to the .gitconfig file in your $HOME directory.
FILE: .gitconfig
[alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
lg = log --graph --pretty=format:'%Cred%h%Creset | %s%C(yellow)%d%Creset %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative type = cat-file -t dump = cat-file –p
reference:http://gitimmersion.com/lab_11.html