summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics/create-branch.md
blob: ad94f0dad292675ecbb6b24b22144c084476648a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# How to create a branch

A branch is an independent line of development.

New commits are recorded in the history for the current branch, which results
in taking the source from someone’s repository (the place where the history of
your work is stored) at certain point in time, and apply your own changes to it
in the history of the project.

To add changes to your GitLab project, you should create a branch. You can do
it in your [terminal](basic-git-commands.md) or by
[using the web interface](../user/project/repository/web_editor.md#create-a-new-branch).