Keep your programs in your GitHub portfolio
Link your own GitHub to CS with ZAK in two steps, then save every program you write into tidy folders and open it on any device.
8 steps about 5 min Students
Open My CodeSteps
Step 1: Sign in to CS with ZAK
Where: Top bar → account button → Email me a code
Open AccountYour portfolio belongs to your CS with ZAK account, so sign in first. There is no password: we email you a six-digit code.
Step 2: Open My Code
Where: Account → GitHub portfolio → Set up GitHub in My Code
Open My CodeMy Code is where you set GitHub up, and later where all your saved programs live. Help for each screen sits beside it, or behind the button at the bottom left on a phone.
Step 3: Make your portfolio repository
Where: My Code → step 1 → Open GitHub to create it
A repository is like a folder on GitHub that keeps your programs and every older copy of them. First choose Private (only you can see it) or Public (anyone can). GitHub opens with the name cswithzak-portfolio already filled in: press the green Create repository. No GitHub account yet? GitHub lets you make one free on that page; you must be 13 or older, and use your own email.
Step 4: Connect it to CS with ZAK
Where: My Code → step 2 → Connect GitHub
GitHub asks where to install CS with ZAK Portfolio: pick your own name. Then choose Only select repositories, pick cswithzak-portfolio, and press Install & Authorize. Do not choose All repositories: we only need the one.
Step 5: Come back to CS with ZAK
Where: Connecting GitHub → My Code
GitHub sends you back here by itself. After a few seconds My Code shows your repository with its first file, README.md. If My Code says one more step is needed, do it on GitHub and press I've done it.
Step 6: Save a program
Where: Any code lab → Save to GitHub
Choose the file name, the level (★ marks the level you chose on the site) and the folder, then press Save. Picking a file that is already there asks first: Replace it keeps the old copy in its history, Save as new name keeps both.
Step 7: Open, change and download
Where: My Code → a file → Versions, Download, Open in
Change a file and press Save. Versions shows every copy you saved; Restore this version brings an old one back. Upload adds files, whole folders or a zip from your computer, and Download all gives you everything.
Step 8: Stay safe
Where: Account → GitHub portfolio → Disconnect GitHub
Never tell anyone your GitHub password, not even us: CS with ZAK never sees it. Keep the portfolio private until you are happy to show it. Disconnect GitHub stops CS with ZAK reaching it; your repository stays yours on GitHub.
Did this guide help?


