リポジトリからマスターをClone
git clone https://github.com/masatomix/ui-router-sample.git ←URLは例 cd git clone ui-router-sample
Branchに切替
git branch 一覧 git branch dev 作成 git checkout dev 切替
いろいろ修正、そのあとコミット
git diff git commit
コミットされた*1
リポジトリへプッシュ
git push origin dev
あとはGithub上でプルリクエストして、それをマージ。
ステータスのチェック
git status
差分チェック
git diff