Overview Create branches to keep unfinished or experimental work independent from main. Commit on the correct branch, and remember that switching branches changes the working directory to match that branch's recorded state.