Create an empty git repo or reinitialize an existing one
Click the "Fork" button at the top-right of any repository's GitHub page.
Clone the codepainter repo into a new directory called codepainter:
$ git clone https://github.com/jedhunsaker/codepainter.git codepaintergit checkout --track -b <branch> origin/<branch> -B to force it.
git checkout -b master upstream/master
git push --set-upstream origin <branch>
git push
git push origin <local-branch>:<remote-branch> -f to force it.
git rebase -i HEAD~<number-of-commits>
git commit -am <msg>
git branch -d <local_branch> -D to force it.
git push origin :<remote_branch>
git config branch.<local_branch>.remote origin
git config branch.<local_branch>.merge refs/heads/<remote_branch>
git pull --rebase
git reset --hard HEAD~1 && git push -f origin master
git fetch upstream && git rebase upstream/master
git remote -v
git config --global core.autocrlf true