![Automatically update your git config based on what folder the repo is in, so you can have a dedicated folder for your work repos and maks sure your git commits always use the correct git identity.](/_image/assets/images/git-config-per-folder_768x768.jpg)
How to setup git to use a different git commit identity based on the repo's directory
Automatically update your git config based on what folder the repo is in, so you can have a dedicated folder for your work repos and maks sure your git commits always use the correct git identity.