HomeWork 1 :Git Practice

Step 1: Created GitHub Repo and cloned it
Step 2: Created one.txt file and committed to the main branch
Step 3: Created a new branch called branch -1 using git branch branch-1 command
Step 4: To check if the branch is created, I used the command git branch -a
Step 5: Then I switched to branch-1 using git checkout branch-1 command
Step 6: I pushed the branch to remote using git push origin branch-1 command
Step 7: I created the two.txt file and made changes to one.txt in branch-1
Step 7: Then I added, committed and pushed using git push origin branch-1 command
Step 8: I re based the branch-1 to master using git rebase branch-1 main command
Step 9: I cross checked by using the git log --graph --oneline command
Step 10: In this step, pushed the changes by using git push origin main