To Fork a GitHub Repository Click on the Fork
button On the Right top corner.
On GitHub navigate to your Fork Repository, Click on Code
button to copy the URL of HTTPS.
On your local machine open a terminal. Use the command:
git clone <copied url>
After making your desired changes use these commands:
git add --all
git commit -m <"Your-commit-name">
(Note
: -m
tells git that you are comming the changes with a message to tell people what the commit is about)
git push origin <your-branch-name>
If you go to your repository on GitHub, you'll see a Compare & pull request
button. Click on that button.
Now submit the Pull Request.