The branch in Git is:
the default name that git gives to your main remote repo
the current commit your repo is on
represents the version of the source code
a pointer to the commit
No tests found
Which of the following commands allows you to join changes from one branch to another?
git pull
git merge
git checkout
git push
The number of branches we can create in Git is limited. True or false?
true
false
What is the name of the default branch created by Git when you first create the repository?
origin
master
rep
HEAD
Which of the following commands allow to create a new branch?
git branch -a
git branch
git commit -m
git branch -d
Which of the following commands allow to rename the branch?
git branch -m
git checkout -b
git branch -c
Which of the following commands allow to delete the branch?
Which of the following command allows to switch from one branch to another?
git diff
Git checkout -b:
Git checkout -b
allow to switch between branches
is a shorthand for git branch followed by git checkout
check out file or files out of the index
takes a file out of another commit
git clone:
git clone
get a copy of an existing Git repository
create a new and empty repository
join two or more development histories together
reapply commits on top of another base tip
«123»