October 24, 2025

Github Project Upload

Step 1: Create a New Repository on GitHub

  1. Log in to your GitHub account. If you don’t have one, sign up at github.com.
  2. In the upper-right corner of the GitHub homepage, you will see a “+” icon. Click that and select New repository from the dropdown menu.
  3. Now, you will be on the “Create a new repository” page. Here, provide a name for your repository. For example, you can name it based on your project like my-website or portfolio.
  4. You can add a brief description of your project (optional).
  5. Choose the repository visibility:
    • Public — Anyone can see your repository.
    • Private — Only you and invited collaborators can see it.
  6. You can initialize this repository with a README file by checking its box. This step is optional since you will upload files separately.
  7. Click the Create repository button to finalize

Step 2: Upload Your Files Directly on GitHub

  1. After creating the repository, you will see an empty repository page with some instructions on adding files.
  2. Near the top of the repository, find the Add file button (it looks like a dropdown menu).
  3. Click Add file, and from the dropdown select Upload files.
  4. Now you are on an upload page. Here, either drag and drop your project folder contents (HTML, CSS, JavaScript files) directly into this area or click choose your files to browse and select files from your computer.
  5. After your files are uploaded, scroll down to the Commit changes section.
  6. In the Commit message field, write a brief message like Add initial web project files. This helps keep track of your upload history.
  7. Ensure Commit directly to the main branch is selected (default option).
  8. Finally, click the green Commit changes button to upload your files to GitHub.

Step 3: Verify Uploaded Files

  1. After committing, your files will appear listed in the repository folder page.
  2. You can click on each file to view its contents directly on GitHub.
  3. Now your project is stored online and accessible from anywhere.

Step 4: Update or Add Files Later

  1. To add more files or update existing files, repeat the steps:
    • Click Add file > Upload files for new files.
    • For edits, you can directly open a file, click the pencil icon to edit it online, then commit the changes.
  2. This is useful for small changes or additions to your project without needing the command line.

Why Use GitHub for Your Web Projects?

  • Version Control: GitHub records every change you make as a commit, so you can track your project’s history.
  • Backup: Your project files are safely stored in the cloud.
  • Portfolio: Potential employers and collaborators can view your code and projects easily.
  • Collaboration: Multiple people can work on the same project together.
  • GitHub Pages Hosting: You can even host your static website directly from GitHub for free.

Optional: Using GitHub Desktop (A Friendly GUI)

If you prefer not to upload files via the web interface, you can use GitHub Desktop:

  1. Download and install GitHub Desktop from desktop.github.com.
  2. Sign in with your GitHub account.
  3. Clone your repository to your computer.
  4. Copy your project files into the cloned folder on your system.
  5. GitHub Desktop will detect changes and let you commit them with a message.
  6. Click Push origin to upload the committed changes to GitHub.

This method combines ease of use with the power of Git version control.

Summary

  • Create a repository on GitHub.
  • Use the web interface to upload files via drag & drop.
  • Add commit messages to track changes.
  • Update projects easily through GitHub’s web editor or GUI.
  • Enjoy benefits like version control, collaboration, and free hosting with GitHub Pages if needed.

By following these steps, you will have your web development projects hosted on GitHub without needing any command line tools. This is perfect for beginners and keeps your files organized and accessible.

Would you like the next step on how to publish your website live using GitHub Pages or how to use Git commands for more advanced workflows?