<aside> 💡 Notion Tip: This page documents processes product managers should follow to ship features at Acme Corp. Helpful for getting new employees up to speed.

</aside>

First Code

Committing your first code can seem daunting. But with the right guidance, it's actually quite simple. In this article, we'll walk you through the steps to commit your first code using Git.

  1. Install Git

The first step is to install Git on your computer. You can download Git from the official website and follow the installation instructions for your operating system.

  1. Create a New Repository

Once Git is installed, you'll need to create a new repository. Open up your terminal or command prompt and navigate to the directory where you want to create your repository. Then, run the command:


git init

This will create a new Git repository in the current directory.

  1. Add Your Files

Next, you'll need to add your files to the repository. To do this, run the command:


git add <file-name>

Replace <file-name> with the name of the file you want to add. If you want to add all files in the directory, run the command:


git add .

This will add all files in the current directory.