Learning Git and Github with Ray Villalobos

git status

git commit

git reset

git checkout -b {local branch name} {repo/remote branch name}

Switch between branches

git checkout {branch name}

Download all branches of a repository

git close --mirror {.git url} .git
git config --bool core.bare false
git reset --hard
git branch

Copy specific branch of a repository and delete git logs

git clone -b {local branch name} {repo/remote branch name}
git log
rm -dfr .git
git log

git init
git add .
git commit -m “first commit”
git log
git push