All these task's solution is in wt.pdf
Tasks:
-
Initialize an empty repository in your local machine.
-
Initialize git inside that repository.
-
Create a file named first.txt.
-
Add first.txt to the staging area.
-
Commit with the message "adding first.txt".
-
Check out your commit with git log.
-
Create another file called second.txt.
-
Add second.txt to the staging area.
-
Commit with the message "adding second.txt".
-
Remove the first.txt file.
-
Add this change to the staging area.
-
Commit with the message "removing first.txt".
-
Check out your commits using git log.
-
Create a GitHub repository with your own name.
-
Push your code to the same repository.