Version and Help
git --version shows the installed version and git help <command> opens the manual for any command. Add -h for a short usage line.
Example
git --version | cut -d' ' -f1,2
git help -h | head -1 | cut -c1-12Result
git version usage: git h
Exercise
Open the manual of commit.
git commit
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.