http://indeepdata.com/answer/configure-git-on-local-system/
Checkout this amazing article