This is the git config I'm using, basically, this gist becomes useful every time I need to setup a new environment.
And my favourite combined command of all time, for these times, that you prefer to off-load running test to your CI tool:
git commit -a --amend && git publish -f