- Clone the Remot Repository to local
git clone https://github.com/suryapratapsinghsuryavanshi/Git-Assignment.git
- Create a new branch
git branch source
- Switch to the new branch
git checkout source
- Create a new file
touch fibonacci.c
- Add the file to staging area
git add fibonacci.c
- Commit the changes
git commit -m "Added fibonacci.c"
- Push the changes to remote repository
git push origin source
- After stisfying with the changes, merge the changes to master branch
git checkout master
git merge source
- Push the changes to remote repository
git push origin master
- Delete the branch
git branch -d source
- Create a new file
touch run.sh
- Add the file to staging area
git add run.sh
- Commit the changes
git commit -m "Added run.sh"
- Push the changes to remote repository
git push origin master