{"id":12262,"date":"2024-03-14T15:29:01","date_gmt":"2024-03-14T15:29:01","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/"},"modified":"2025-08-04T23:24:48","modified_gmt":"2025-08-04T23:24:48","slug":"in-depth-tutorial-on-how-to-use-sourcetree","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/","title":{"rendered":"SourceTree Tutorial: Git &#038; Mercurial Guide"},"content":{"rendered":"<p>SourceTree is a free version control tool for Git and Mercurial that helps developers efficiently manage code versions. Here is a detailed tutorial on how to use SourceTree.<\/p>\n<ol>\n<li>Download and install SourceTree:<br \/>\nDownload the version suitable for your operating system from the official SourceTree website and follow the installation guide.<\/li>\n<li>To add a new repository:<br \/>\nOpen SourceTree, click on the &#8220;New&#8221; button or select &#8220;File&#8221; -> &#8220;New\/Clone&#8221; to add a new repository. Input the URL or local path of the repository, choose the repository type (Git or Mercurial), and then click the &#8220;Clone&#8221; button. SourceTree will clone the repository to your local machine.<\/li>\n<li>Viewing and managing branches:<br \/>\nOn the left-hand side navigation bar in SourceTree, you can see the branches of the current repository. Clicking on a branch name allows you to switch to that branch. You can use the right-click menu to view and manage branches, such as creating, deleting, or merging branches.<\/li>\n<li>Viewing and managing changes:<br \/>\nIn the middle section of SourceTree, you can see the changes in the current branch. Changes include newly added files, modified files, and deleted files. You can use the right-click menu to view the differences between different versions, or revert a file to a previous version.<\/li>\n<li>Committing and pushing changes:<br \/>\nIn the bottom toolbar of SourceTree, you can find the commit and push buttons for the current repository. Clicking the commit button allows you to submit the current modifications to the local repository and add a commit message. Clicking the push button allows you to push the local commits to the remote repository.<\/li>\n<li>Viewing the history:<br \/>\nOn the right side of SourceTree, you can see the commit history of the current branch. You can use the right-click menu to compare differences between different versions or view detailed information about a specific commit.<\/li>\n<li>Resolve conflicts:<br \/>\nIf a conflict occurs during submission or pushing, SourceTree will automatically detect and prompt you to resolve the conflict. You can use the right-click menu to initiate the conflict resolution tool and manually resolve the conflict.<\/li>\n<li>Other features:<br \/>\nSourceTree also offers many additional features such as tag management, remote repository management, code search, etc. You can access these features by using the buttons on the menu bar or toolbar.<\/li>\n<\/ol>\n<p>This is a basic tutorial on how to use SourceTree. I hope it helps you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SourceTree is a free version control tool for Git and Mercurial that helps developers efficiently manage code versions. Here is a detailed tutorial on how to use SourceTree. Download and install SourceTree: Download the version suitable for your operating system from the official SourceTree website and follow the installation guide. To add a new repository: [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[16018,3645,16017,16016,2821],"class_list":["post-12262","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-git-client","tag-git-tutorial","tag-mercurial","tag-sourcetree","tag-version-control"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SourceTree Tutorial: Git &amp; Mercurial Guide - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management &amp; version control basics efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SourceTree Tutorial: Git &amp; Mercurial Guide\" \/>\n<meta property=\"og:description\" content=\"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management &amp; version control basics efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T15:29:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-04T23:24:48+00:00\" \/>\n<meta name=\"author\" content=\"Noah Thompson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Noah Thompson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\"},\"author\":{\"name\":\"Noah Thompson\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/2e83cc6ab9f60d36921c2d0f9f280f4a\"},\"headline\":\"SourceTree Tutorial: Git &#038; Mercurial Guide\",\"datePublished\":\"2024-03-14T15:29:01+00:00\",\"dateModified\":\"2025-08-04T23:24:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\"},\"wordCount\":392,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"keywords\":[\"Git client\",\"git tutorial\",\"Mercurial\",\"SourceTree\",\"version control\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\",\"name\":\"SourceTree Tutorial: Git & Mercurial Guide - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-14T15:29:01+00:00\",\"dateModified\":\"2025-08-04T23:24:48+00:00\",\"description\":\"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management & version control basics efficiently.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SourceTree Tutorial: Git &#038; Mercurial Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/2e83cc6ab9f60d36921c2d0f9f280f4a\",\"name\":\"Noah Thompson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/350e537e1530ede2762ee0237e877d6693f4f7163ab4f303202cc9a6b27b6cb4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/350e537e1530ede2762ee0237e877d6693f4f7163ab4f303202cc9a6b27b6cb4?s=96&d=mm&r=g\",\"caption\":\"Noah Thompson\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/noahthompson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SourceTree Tutorial: Git & Mercurial Guide - Blog - Silicon Cloud","description":"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management & version control basics efficiently.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/","og_locale":"en_US","og_type":"article","og_title":"SourceTree Tutorial: Git & Mercurial Guide","og_description":"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management & version control basics efficiently.","og_url":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-14T15:29:01+00:00","article_modified_time":"2025-08-04T23:24:48+00:00","author":"Noah Thompson","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Noah Thompson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/"},"author":{"name":"Noah Thompson","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/2e83cc6ab9f60d36921c2d0f9f280f4a"},"headline":"SourceTree Tutorial: Git &#038; Mercurial Guide","datePublished":"2024-03-14T15:29:01+00:00","dateModified":"2025-08-04T23:24:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/"},"wordCount":392,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"keywords":["Git client","git tutorial","Mercurial","SourceTree","version control"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/","url":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/","name":"SourceTree Tutorial: Git & Mercurial Guide - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-14T15:29:01+00:00","dateModified":"2025-08-04T23:24:48+00:00","description":"Step-by-step SourceTree guide for Git\/Mercurial. Learn installation, repository management & version control basics efficiently.","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/in-depth-tutorial-on-how-to-use-sourcetree\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SourceTree Tutorial: Git &#038; Mercurial Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/2e83cc6ab9f60d36921c2d0f9f280f4a","name":"Noah Thompson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/350e537e1530ede2762ee0237e877d6693f4f7163ab4f303202cc9a6b27b6cb4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/350e537e1530ede2762ee0237e877d6693f4f7163ab4f303202cc9a6b27b6cb4?s=96&d=mm&r=g","caption":"Noah Thompson"},"url":"https:\/\/www.silicloud.com\/blog\/author\/noahthompson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=12262"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12262\/revisions"}],"predecessor-version":[{"id":156058,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12262\/revisions\/156058"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=12262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=12262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=12262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}