- Take me to Practice Test
Solutions to practice test - Install git
-
Run the command cat /etc/release and identify the name
$ 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
$ sudo apt update $ sudo apt install git -y
-
Run git --version to check version
$ git --version
-
Run git help command and look at the description of each command
$ git help|more $ git show
-
Run git help command and look at the description of each command
$ git help|more $ git branch
-
Run git help command and look at the description of each command
$ git help|more $ git fetch
-
Run git help command and look at the description of each command
$ git help|more $ git init
-
Run git help init command and identify the option used to create a bare repository
$ apt-get install git-man $ git help init $ git init --bare