Here’s how to do it:
- First, open your repository in Sourcetree, then click on the 'Repository' menu and select 'Repository Settings'.
- Within the 'Repository Settings' dialog, navigate to the 'Advanced' tab where user info is stored.
- Enter your new username and email address in the respective fields.
- Click 'OK' to save your changes. Remember, this only changes the user for this specific repository.