Add git configuration based on @mcomella's.