git branch
- fork the repo via the UI.
- clone the repo
git clone http://github.com/user/repo
- create a branch for edits
git checkout -b branchname
- make edits to repo
- see files changed
git status
and
git diff
- add files to the stage to be commited
git add filename
- see step 5 to confirm the file has been added to the stage. they should be showing in green now.
- commit the change
git commit -m "descriptionofchange"
- see commit in git history
git log
- push the change to your fork (default name origin for your fork)
git push origin branchname
- at this point, your changes are in the fork repo and you can go the UI to create a Pull Request.