Git configurations to be set for global ~/.gitconfig file.
git config --global --list # ~/.gitconfig
git config --local --list # .git/config
git config --list
# to view
git config --global user.name
# to set
git config --global user.name "Arturo Simon"
git config --global user.email "email@gmail.com"
git config --global user.name "Arturo Simon"
git config --global color.ui true
git config --global core.autocrlf input
git config --global push.default simple # simple - just pushes current branch to github
# matching - pushes all matching branches to github
git config --global pull.rebase true # defaults all new branches to fetch then rebase (instead of fetch/merge)
git config --global core.excludesfile '~/.gitignore_global' # be sure to create file