change git username for specific folder code example Example: git change user for single repo $ git config user.name "John Doe"