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 Add Files using Sourcetree

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to stage, commit, and add files in Sourcetree.

Quick summary

This tutorial shows you how to add files to your Git history using Sourcetree by staging changes and writing a commit message. It covers the full workflow from opening your repository to clicking Commit, making version control accessible without the command line.


Steps

  1. Open Sourcetree and navigate to your repository.
  2. Select the files you want to include and stage the files so they move into the Staged files section.
  3. Write a commit message describing your changes to commit the files.
  4. Click the Commit button to finalize the commit.
  5. Your new or changed files are now successfully added to your Git history.

📌 Why this matters

Sourcetree provides a visual Git interface that lets developers stage, commit, and track file changes without writing command-line instructions. This matters because it significantly lowers the barrier to version control, enabling teams of all experience levels to manage code changes accurately and consistently. By following a clear stage-and-commit workflow, developers reduce the risk of untracked changes and maintain a clean, auditable Git history. Sourcetree is especially valuable for teams transitioning from no version control or those who prefer a GUI over terminal-based Git commands.
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