Skip to content

Latest commit

 

History

History
45 lines (23 loc) · 986 Bytes

File metadata and controls

45 lines (23 loc) · 986 Bytes

Git Quiz


  1. What is a repository?

It's a folder where all your files of a project is stored.

  1. What is the Git command to make a copy of a repo to your laptop?

git clone and the link

  1. What is the Git command to send your code to Github?

git push link then branch name or main

  1. What does the -m in a Git commit command mean or do?

its a message that describes the changes you have made to that file.

  1. What is the Git command for making a commit?

git commit -m and the message

  1. What is the Git command to put your files in the staging area?

git add (.)for all or the name of the file

  1. What does origin stand for when pushing you code?

it means the link of github repo to which you want to store your files.