Join Our Community!

Connect with fellow tech enthusiasts on "The Weaver Birds" community. Share ideas, ask questions, and collaborate with others passionate about technology!

Join Now

Bring Us to Your Campus!

Interested in hosting a workshop? Contact us if your university wants to invite Engineeous to conduct a session on this topic or any other tech subject!

Request a Workshop

Let’s Work Together!

Looking for expert help? If you want to hire Engineeous for your next project, reach out to us today to discuss how we can collaborate!

Get in Touch

Git Repository

Now that Git is installed and set up, it's time to start working on a project. For our exercises, we'll be working on a hypothetical university management system.

Step 1: Create a Project Folder

First, let's create a new folder for our project. This will be the place where all our project files will be stored.

  1. Open your terminal or command prompt.
  2. Type the following commands to create a folder named "university" and move into it:

    mkdir university
    cd university
  3. Inside this folder, create a new file called index.html with the following content:

    <p>Welcome to the university</p>

    On Linux, you can do this in one step by running:

    echo "<p>Welcome to the university</p>" > index.html

Step 2: Initialize a Git Repository

A Git repository is like a special storage space where Git keeps track of all the changes you make to your project files.

You can create a Git repository in two ways:

  1. Initialize a Local Directory: Turn an existing folder (like our "university" folder) into a Git repository.
  2. Clone a Repository: Copy an existing Git repository from the internet to your computer.

Let's start by initializing a Git repository in our "university" folder.

  1. In your terminal, make sure you're still inside the "university" folder.
  2. Type the following command:

    git init
  3. You should see a message like this:

    Initialized empty Git repository in /home/user/university/.git/

🎖️ Congratulations! You've just created your first local Git repository. This means Git is now tracking everything you do in this folder. You're ready to start building something amazing!

Check status

Subscribe to our newsletter

We will make sure that you never miss anything again! Stay rest assured about our emails as we do not spam your inbox.