On your terminal,
1.
git config --global user.name "<your_name>"
2.
git config --global user.email "<your_email_address>"
User github Mac client to get started with now.
Clone (not Fork
) your git repository through a link ending with .git
Create a new branch locally
https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
git reset HEAD --HARD
error: unknown option `HARD'
usage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]
or: git reset [-q] <tree-ish> [--] <paths>...
or: git reset --patch [<tree-ish>] [--] [<paths>...]
-q, --quiet be quiet, only report errors
--mixed reset HEAD and index
--soft reset only HEAD
--hard reset HEAD, index and working tree
--merge reset HEAD, index and working tree
--keep reset HEAD but keep local changes
-p, --patch select hunks interactively
-N, --intent-to-add record only the fact that removed paths will be added later