Fork ๋”ด Repo ๋ธŒ๋žœ์น˜ Clone

git clone -b {๋ณธ์ธ_์•„์ด๋””} --single-branch https://github.com/{๋ณธ์ธ_์•„์ด๋””}/{์ €์žฅ์†Œ ์•„์ด๋””}
ex) git clone -b javajigi --single-branch https://github.com/javajigi/java-baseball.git

Branch ์ƒ์„ฑ

git checkout -b ๋ธŒ๋žœ์น˜์ด๋ฆ„
ex) git checkout -b step1

Push

git push origin ๋ธŒ๋žœ์น˜์ด๋ฆ„
ex) git push origin step1

Branch ์‚ญ์ œ

git checkout ๋ณธ์ธ_์•„์ด๋””
git branch -D ์‚ญ์ œํ• _๋ธŒ๋žœ์น˜์ด๋ฆ„
ex) git checkout javajigi
ex) git branch -D step1

Fork Repo ๋ฅผ ๋™๊ธฐํ™”ํ•˜๊ธฐ ์œ„ํ•œ Origin Repo ์ถ”๊ฐ€ (์ตœ์ดˆ ํ•œ ๋ฒˆ)

git remote add {์ €์žฅ์†Œ_๋ณ„์นญ} base_์ €์žฅ์†Œ_url
ex) git remote add upstream https://github.com/woowacourse/java-racingcar.git
// ์œ„์™€ ๊ฐ™์ด woowacourse ์ €์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ•œ ํ›„ ์ „์ฒด remote ์ €์žฅ์†Œ ๋ชฉ๋ก์„ ๋ณธ๋‹ค.
git remote -v

Remote Repo ๋ธŒ๋žœ์น˜ ๊ฐฑ์‹ ํ•˜๊ธฐ

git fetch upstream {๋ณธ์ธ_์•„์ด๋””}
ex) git fetch upstream javajigi

Local ๋ธŒ๋žœ์น˜์™€ ๋™๊ธฐํ™”ํ•˜๊ธฐ

git rebase upstream/๋ณธ์ธ_์•„์ด๋””
ex) git rebase upstream/javajigi