git add account code example Example: git change user for single repo $ git config user.name "John Doe"