Continue with GitHub

To integrate GitHub into your project, follow these steps:

  1. Create a GitHub Account
    If you haven't already, sign up for a free account on GitHub.

  2. Create a New Repository

    • Click on the "New" button on your repositories page.
    • Fill in the repository name, description, and choose to make it public or private.
    • Click on "Create repository".
  3. Clone the Repository
    Use the command below to clone your repository to your local machine:

    git clone https://github.com/username/repository-name.git
    
  4. Make Changes in Your Local Repository
    Add files, make changes, and prepare to commit.

  5. Commit Your Changes
    Use the following commands to add and commit your changes:

    git add .
    git commit -m "Your commit message here"
    
  6. Push Your Changes
    After committing changes, push them back to GitHub:

    git push origin main
    
  7. Creating Branches
    To work on features without affecting the main code:

    git checkout -b new-feature
    
  8. Merge Requests
    Once features are complete, create a pull request to merge your changes back into the main branch on GitHub.