Setting git account untuk default

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Setting git account untuk directory tertentu

git config --local user.email "you@example.com"
git config --local user.name "Your Name"