> For the complete documentation index, see [llms.txt](https://tobyisme.gitbook.io/gitlab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tobyisme.gitbook.io/gitlab/learn-git/di-wu-tangke-zai-git-zhong-qian-hou-yi-dong.md).

# 第五堂課 - 在 git 中前後移動

在接觸 git 的更多進階的主題之前，我們先學習用不同的方法在你的 project 中的 commit tree 上面移動。

一旦能夠熟練地在 commit tree 中隨意地移動，你使用其它的 git 指令也會更厲害！

## 破關提示：

想要完成這一個關卡，從`bugFix`分離出 HEAD 並且讓它指向一個 commit。

通過 hash 值可以指定 commit。每個 commit 的 hash 值顯示在各自的圓圈中。

## 語法如下：

```
git checkout C4
```
