How to locate the git config file in Mac

git, macos

Solution

The global Git configuration file is stored at `$HOME/.gitconfig` on all platforms.

However, you can simply open a terminal and execute `git config`, which will write the appropriate changes to this file. You shouldn't need to manually tweak `.gitconfig`, unless you particularly want to.

Problem

As title reads, how to locate the git config file in Mac? Not sure how to find it. Need to set ``` git config --global http.postBuffer 524288000 ``` Need some guidance on finding it..

Original source

Related problems