This is a
.gitconfig I've been using for some years now and it has proven quite okay. It should be saved in your home directory e.g.
/home/johndoe/.gitconfig. The push directive is set to
simple is also a good option for you.
[user] name = John Doe email = firstname.lastname@example.org [color] branch = auto diff = auto interactive = auto pager = true status = auto ui = true [color "status"] added = green changed = yellow untracked = red [push] default = current [core] autocrlf = input pager = less -FRSX [alias] ci = commit co = checkout st = status -sb lg = log --graph --pretty=format:'%C(yellow)%h%C(auto)%d%Creset %s %C(white)- %an, %ar%Creset'
Here is a link to the github gist.