git config --global user.name your_user_name
git config --global user.email your_email_address
ssh-keygen -t rsa // 1.file location 2.password
cat ~/.ssh/id_rsa.pub // show the public key
// add the public key to remote git server
// For Gerrit
$ curl -Lo /.git/hooks/commit-msg /tools/hooks/commit-msg
$ chmod u+x ~/duhproject/.git/hooks/commit-msg