Added some additional gitconfig stuff and made the git credential appending somewhat more foolproof