Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@

1. What is a repository?

<!-- Write your answer under here -->
A repository, or repo, is a centralized digital storage that developers use to make and manage changes to an application's source code. Developers have to store and share folders, text files, and other types of documents when developing software.

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

<!-- Write your answer under here -->
Type git clone , and then paste the URL you copied earlier. Press Enter to create your local clone

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

<!-- Write your answer under here -->
The git push command is used to transfer or push the commit, which is made on a local branch in your computer to a remote repository like GitHub

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

<!-- Write your answer here -->
It stands for message m

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

<!-- Write your answer here -->
git commit

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

<!-- Write your answer here -->
Add files to the staging area by using the "git add" command and passing necessary options. Commit files to the local repository using the "git commit -m <message>" command

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

<!-- Write your answer here -->
Origin is simply the name given to any remote repository available on GitHub. Whenever we need to push the changes to a remote repository, we use git push along with the remote repository “origin” and “master” branches. The term used is “git push origin master“.