flowchart BT subgraph ローカル環境 subgraph remoteBranch["リモート追跡ブランチ"] origin/hoge upstream/hoge end subgraph localRepo ["ワーキングディレクトリ"] end subgraph index["インデックス (ステージング)"] ローカルブランチ end subgraph alias["リモートリポジトリエイリアス"] origin upstream end end subgraph Github リモートリポジトリ end localRepo <-->|add,commit| index…