This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Sourcetree

How to Change Username in Sourcetree

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to update your username and email in Sourcetree.

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

  1. Open the repository in Sourcetree and navigate to the repository Settings.
  2. Inside Repository Settings, click the Advanced tab.
  3. Enter your new name and email in the provided fields.
  4. Click OK to save the changes — the new username will apply only to this repository.

📌 Why this matters

Sourcetree allows developers to set a per-repository username and email, making it easy to separate work and personal Git identities without changing global settings. This is essential for developers who contribute to multiple projects under different accounts or organizations. By updating the name and email in the repository's Advanced settings, teams ensure accurate commit attribution and cleaner Git history. This granular control helps avoid misattributed commits and keeps project collaboration organized and professional.
Your product deserves an interactive demo
Start free
Similar Articles
Sourcetree

How to Update Sourcetree Mercurial

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Add SSH Key in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Change User in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it