add gitconfig
fix a bug introduced by git branch promot