2015-07-09 18:33:42 -04:00
|
|
|
|
# How to create a branch
|
|
|
|
|
|
2015-07-10 19:09:52 -04:00
|
|
|
|
A branch is an independent line of development.
|
2015-07-21 18:45:12 -04:00
|
|
|
|
|
2016-10-11 01:21:47 -04:00
|
|
|
|
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).
|