> For the complete documentation index, see [llms.txt](https://johnoraw.gitbook.io/iac-version-control/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://johnoraw.gitbook.io/iac-version-control/github/larger-projects/creating-my-branch-architecture-locally.md).

# Creating my Branch Architecture Locally

I am up to date and on the branch called **main**.

<figure><img src="https://content.gitbook.com/content/C1tv1gDCmQOVxTprzQP4/blobs/04qhI3TrFuJP1xRLOTRJ/image.png" alt=""><figcaption></figcaption></figure>

I have already made a few changes.

<figure><img src="https://content.gitbook.com/content/C1tv1gDCmQOVxTprzQP4/blobs/VbmV40cIFormJrD0aSPZ/image.png" alt=""><figcaption></figcaption></figure>

I can create a new branch and then check to see what branches exist. I can see I have two branches, and the **\*** symbol tells me which branch I have currently selected as active.

<figure><img src="https://content.gitbook.com/content/C1tv1gDCmQOVxTprzQP4/blobs/QpGBCJdh8843rGx6BUg1/image.png" alt=""><figcaption></figcaption></figure>

If I create a new branch, it should include those commits. To change branches, I use the **checkout** command.

<figure><img src="https://content.gitbook.com/content/C1tv1gDCmQOVxTprzQP4/blobs/xbdrxxZ3EgTMeOpdqXcA/image.png" alt=""><figcaption></figcaption></figure>

Notice that **HEAD** is now pointing to **Dev**.
