Question 1 - Suvedhaaarul/73772127152-Assignment-1 GitHub Wiki
1. Illustrate the following GIT operations using local and remote (Github) repositories with the screenshots of your demonstration.
Commands
git clone - This command is used to clone the remote repository to local computer.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/clone.png)
git push - This command is used to push the changes from local to remote repository.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/push.png)
git pull - This command is used to pull the changes from remote to local repo that are made by other developers.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/pull.png)
git commit - This command is used to move the changes to staged area.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/commit.png)
git log - This command is used to view the commits that are made.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/log.png)
git status - This command is used to view the status of the files(Staged,unstaged,modified..).
![](https://github.com/Suvedhaaarul/73772127152/raw/main/status.png)
git reset - This command is used to reset the changes that are after a commit.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/reset.png)
git stash - This command is used to temporarily save the changes in local that can be used afterwards
![](https://github.com/Suvedhaaarul/73772127152/raw/main/stash.png)
Pull Requests
![](https://github.com/Suvedhaaarul/73772127152/raw/main/pull%20request.png)
Branching - git branch and git checkout - Used to move the haed from one branch to another.
![](https://github.com/Suvedhaaarul/73772127152/raw/main/checkout.png)
Merging and Merge conflicts
![](https://github.com/Suvedhaaarul/73772127152/raw/main/merge%20conflict.png)
Branch Protection rules
![](https://github.com/Suvedhaaarul/73772127152/raw/main/protection%20rule.png)