Here are a few steps to create a pull request.
First, you'll need to fork the repo. This is not mandatory, though. See how to fork a repo.
cd /your-git-folder
git clone git@github.com:<your_username>/<repo_title>.git --recursive
cd <repo_title>
git remote add upstream git@github.com:<original_username>/<repo_title>.git
git remote
git fetch upstream
git merge upstream/master
git push origin master
git checkout -b <branch_name>
Write your code, fix issue, do some magic stuff!
git add .
git commit -am 'message'
git push origin <branch_name>
When PR is merged, delete remote branch on github directly and delete local branch using the following command:
git branch -D <branch_name>
if needed (if changes made on GitHub directly and local isn’t updated):
git fetch origin
git pull origin