"brew install git" includes OS X credential cache store for git. enable it.