Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8664739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:18:53+00:00 2026-06-12T17:18:53+00:00

After checking How can I upload my project’s Git repository to GitHub? , I

  • 0

After checking How can I upload my project’s Git repository to GitHub?, I still have no idea how to get a project uploaded to my GitHub repository.

I created a repository and want to upload my project to it.

I’ve looked on the repository page for an upload button of some kind, but I haven’t seen anything of the sort.

I’ve looked at the links provided so far, but I’m still getting nowhere. They mention command line; is that Windows command line or Git Bash? Because I can’t get either to do anything.

I also tried using the Git GUI, but when I select the folder I want it says that it’s not a Git repository…does it need to be zipped up? I tried adding the .gitconfig file in the folder, but it doesn’t make a difference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:18:54+00:00Added an answer on June 12, 2026 at 5:18 pm

    GitHub released a native Windows client which makes all the below steps redundant.

    You can also use Sourcetree to get both Git and Mercurial setup on Windows.


    Here is how you would do it in Windows:

    1. If you don’t have Git installed, see this article on how to set it up.

    2. Open up a Windows command prompt.

    3. Change into the directory where your source code is located in the command prompt.

    4. First, create a new repository in this directory git init. This will say "Initialized empty git repository in ….git" (... is the path).

    5. Now you need to tell Git about your files by adding them to your repository. Do this with git add filename. If you want to add all your files, you can do git add .

    6. Now that you have added your files and made your changes, you need to commit your changes so Git can track them. Type git commit -m "adding files". -m lets you add the commit message in line.

    So far, the above steps is what you would do even if you were not using GitHub. They are the normal steps to start a Git repository. Remember that Git is distributed (decentralized), meaning you don’t need to have a "central server" (or even a network connection), to use Git.

    Now you want to push the changes to your Git repository hosted with GitHub. You do this by telling Git to add a remote location, and you do that with this command:

    git remote add origin https://github.com/yourusername/your-repo-name.git

    *Note: your-repo-name should be created in GitHub before you do a git remote add origin ...

    Once you have done that, Git now knows about your remote repository. You can then tell it to push (which is "upload") your committed files:

    git push -u origin master

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After checking out a branch in a repository git always prints a list of
After checking out code for the first time from a repository into Eclipse using
I have an array of uint-types in C#, After checking if the program is
After checking out the official documentation , I am still not sure on how
In my requirement, a user can select multiple check-boxes. However after checking each check-box
I have a variable called attending being pulled from a JSON feed. After checking
I have created some form for inserting data into database and for checking if
After checking 20+ answers I'm sure there is no way to trace (using JS
I want to display error message or alert message after checking the condition. here
How to remove using jquery html table row after checking checkbox that in this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.