How to rebase local branch with remote branch
git fetch; and git rebase origin/branch-name-goes-here
Unstage files
git reset
Find out when a file was removed from GitHub repo
git log -- [file path]
Show which commit removed the file
git log -1 -- [file_path]
Amend the second last commit
git rebase -i HEAD~2
git commit --amend