Go to your GitHub account and click on the "New" button to create a new repository.
 
         
        Go to code button inside your repo and copy the HTTPS link
 
        Use the `cd` command to navigate to the directory of your project.
cd path/to/your/project 
        Run the following command to initialize a new Git repository:
git init    
    Add all the files in your project directory to the staging area using the following command:
git add .    
    Commit your changes with a meaningful commit message:
git commit -m "Initial commit" Push your changes to the remote repository:
git push -u origin main    
    Go back to your GitHub repository and verify that your changes have been pushed successfully.
Congratulations! You have successfully set up a GitHub repository for your project.