TECH

Vol.95

author

Engineer

N.U.

Introduction to Setting Up a Git Server with Sourcetree

#Sourcetree#マクロ開発#GitHub#WEB
Last update : 2026.5.8
Posted : 2019.4.26
Are you familiar with "Sourcetree," a powerful ally for junior engineers who are eager to try their hand at setting up development environments? In this two-part series, we will guide you through the process of building a Git server using Sourcetree.
In this first part, we will organize the foundational knowledge required before starting the actual construction work.
stuffstuff

Git: A Version Control System for Programs

Git is a version control system designed to record and track the history of changes made to program source code and other files, especially when multiple people are working together.

Image of Sourcetree

The system manages data by storing it in locations called "repositories." There are two types of repositories:

  • "Local Repositories" located on each developer's machine
  • "Remote Repositories" located on a server

 

Think of the local repository as each developer's individual workspace, and the remote repository as a shared space where all those works are gathered and managed.

Specific workflow of repository usage

The specific workflow is as follows:
First, a developer edits their local repository and then "pushes" those changes to the remote repository to reflect the data. Files uploaded to the remote repository can be brought back into a local repository by "pulling" them.
This mechanism allows for data consistency without the need for complex manual management.
By the way, the famous "GitHub" is a web service based on Git that manages remote repositories.

Now that you have a general grasp of what Git is, let's take a closer look at Sourcetree.

Sourcetree: An Application for Operating Git

Sourcetree is a free desktop application that allows you to perform Git operations.
Git is originally operated by executing commands. However, many people might feel hesitant about opening an unfamiliar black screen and typing in complex commands. With Sourcetree, you can perform Git operations through a graphical interface instead of entering such commands manually.

PREV
Vol.94webpack: The Standard Tool for F…
NEXT
Vol.96What is the difference between G…

MORE FOR YOU