Sourcetree Tutorial
Git has many graphical interface tools (GUI), such as SourceTree, Github Desktop, TortoiseGit, etc.
SourceTree is a Git client management tool for Windows and Mac systems.
SourceTree simplifies the way developers perform Git operations with code repositories; we can easily handle Git operations through interface menus without using commands.
Through SourceTree, we can manage all Git repositories, whether remote or local. SourceTree supports remote repositories such as Bitbucket, GitHub, and Gitlab.
Sourcetree installation
We can visit the Sourcetree official website https://www.sourcetreeapp.com/ and directly click the download button to download:

Other versions can be viewed at:https://www.sourcetreeapp.com/download-archives
After downloading, extract the ZIP file and double-click the application file (EXE for Windows or DMG for Mac) to install.
During installation, we only need to agree to the Atlassian customer agreement and click Continue.

Creating a Bitbucket account can skip the initial setup and load SSH keys; if there are any, they will be loaded by default, or you can set them up later.

Follow the prompts until you complete the setup. If you're not ready to clone a repository, click Skip Setup.
Connect Github account
If you don't have a Github account yet, you need to create one; you can refer to Git Remote Repository (Github)。
Next, we'll introduce using Sourcetree to manage our Github account.
We can add multiple accounts to Sourcetree.
Click the button in the upper right corner and selectAccount。

Next, we add the Github account via the Add Account button.

After the Github account is added, we can directly clone our own account:

You can also clone other remote repositories:

After cloning, we can perform operations such as commit, pull, and merge:

Create a local repository
Click theCreate, and then selectCreate a local repository。

Enter your target path and repository name, then clickcreation。

After creation, it will be displayed in the local list:

If a repository already exists locally, you can add it directly.
ClickCreate, then clickAdd an existing local repository:
