Quick summary
Changing your username in Sourcetree is done through the repository's Advanced settings, where you can set a per-repo name and email. This override applies only to the selected repository, leaving your global Git configuration untouched.
Steps
- Open the repository in Sourcetree and navigate to the repository Settings.
- Inside Repository Settings, click the Advanced tab.
- Enter your new name and email in the provided fields.
- Click OK to save the changes — the new username will apply only to this repository.



