- Take me to Practice Test
Solutions to practice test - Install git
-
Run the command cat /etc/release and identify the name
Details
$ cat /etc/*release* -
Run sudo apt update and then sudo apt install git -y. Refer to the GIT installation documentation here: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
Details
$ sudo apt update $ sudo apt install git -y -
Run git --version to check version
Details
$ git --version -
Run git help command and look at the description of each command
Details
$ git help|more $ git show -
Run git help command and look at the description of each command
Details
$ git help|more $ git branch -
Run git help command and look at the description of each command
Details
$ git help|more $ git fetch -
Run git help command and look at the description of each command
Details
$ git help|more $ git init -
Run git help init command and identify the option used to create a bare repository
Details
$ apt-get install git-man $ git help init $ git init --bare