You can submit your work to the GitHub Classroom repository in two ways:
- Using the Web Version (GitHub Web Interface)
- Using VS Code (Git + GitHub Integration)
If you prefer to upload your work directly via GitHub’s website, follow these steps:
- Go to GitHub Classroom and find the assignment repository link your instructor provided.
- Click on the repository link. You should see a page that says something like:
This repository was created for your assignment. - Your own repo should look like this:
- Click the "Add file" button and choose "Upload files"
- Drag and drop your project files or click "Choose your files" to select them.
- Scroll down and enter a meaningful commit message like:
Added my solution for assignment X - Click "Commit changes" to submit.
If you are working in GitHub Codespaces, follow these steps:
- Go to your repository on GitHub Classroom.
- Click the "Code" button and select "Codespaces".
- Click "Create codespace on main" (or your working branch).
- Add or modify your code directly inside the Codespaces environment.
-
Open the terminal inside Codespaces and run:
git add . git commit -m "Completed assignment submission"
-
Push your changes to GitHub with:
git push origin main
If you are working on your code in VS Code, follow these steps to submit it using Git commands.
-
Open VS Code and open the Terminal (use
Ctrl + ~shortcut). -
Run this command to clone the repository (replace with your actual repo link):
git clone https://github.com/iSTAREducation/intro-computerscience-python-arnav-kalavagunta.git
-
Navigate into the project folder:
cd YOUR-CLASSROOM-REPO
- Copy your files into the cloned repository folder.
-
Run the following commands in the terminal:
git add . git commit -m "Completed assignment submission"
-
Push your changes to GitHub with:
git push origin main
💡 Note: If your branch is named
masterinstead ofmain, usegit push origin masterinstead.
After pushing your changes:
- Go to your GitHub Classroom repository.
- Check if your files are uploaded correctly under the "Code" tab.
- If everything looks good, you're done! ✅

