0
0
Gitdevops~10 mins

Installing Git - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to check the installed Git version.

Git
git [1]
Drag options to blanks, or click blank then click option'
Aversion
Bclone
Cinstall
Dinit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' instead of 'version' will not show the version.
Using 'clone' or 'init' are for other Git operations, not version checking.
2fill in blank
medium

Complete the command to install Git on Ubuntu using apt.

Git
sudo apt-get [1] git
Drag options to blanks, or click blank then click option'
Aremove
Binstall
Cupdate
Dupgrade
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' deletes packages instead of installing.
Using 'update' refreshes package lists but does not install.
3fill in blank
hard

Fix the error in the command to install Git on macOS using Homebrew.

Git
brew [1] git
Drag options to blanks, or click blank then click option'
Aremove
Bupdate
Cinstall
Dupgrade
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' deletes packages instead of installing.
Using 'update' refreshes Homebrew but does not install.
4fill in blank
hard

Fill both blanks to update package lists and install Git on Debian-based Linux.

Git
sudo apt-get [1] && sudo apt-get [2] git
Drag options to blanks, or click blank then click option'
Aupdate
Binstall
Cremove
Dupgrade
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping 'update' and 'install' commands.
Using 'remove' instead of 'install' to add Git.
5fill in blank
hard

Fill all three blanks to clone a Git repository, change directory, and check Git version.

Git
git [1] https://github.com/user/repo.git && cd [2] && git [3]
Drag options to blanks, or click blank then click option'
Aclone
Brepo
Cversion
Dinit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'init' instead of 'clone' to copy the repo.
Changing directory to wrong folder name.
Using wrong command to check version.