Added user config to .gitconfig.
Moved operations to separate files so I can call them individually.