This edits the per-user git config file that is global across all repos.  git config edits the =~/.gitconfig file=, which is an =.ini= style file.
 
+The following will make "git push" not automatically push all branches that have commits in them, which can be unexpected:
+{code}
+git config --global push.default nothing
+{endcode}
+
 On Windows you may also want to run:
 
 {code}