Visual Studio Code
cd ..
mkdir FOLDER_NAME
git init (실행후 폴더 내에 .git 파일 생성됨)
git add *
git add FILE_NAME
git commit -m "설명 기입"
git push origin master
Android Studio
git branch 원하는 이름 입력
git branch
git branch -a
git checkout branch명
git switch branch명
git merge branch명
git merge 다른 branch명
git remote -v
git remote add origin URL
git remote remove origin
다른 pc에서 기존에 있는 브랜치에서 작업하고 commit,push한 경우에 병합되진 않고 github repository에 pull request 대기상태로 존재한다.
해당 상황에서 다른 pc에서 작업한 결과물을 적용시키려면 pull request를 confirm해주고 기존pc로 돌아와서 git pull을 하면 적용된다.