MANUAL
Setting up GitHub for your app
01 / ACCOUNT & PROJECT
Setting up GitHub for your app.
GitHub allows you to store your app’s files and keep track of issues and improvements. Even if you’re working with AI, you don’t need any programming knowledge to do this.
01 / Create an account
- Go to github.com and click on Sign up.
- Enter your email address, choose a password and a username.
- Follow the on-screen instructions and verify your account.
02 / Create a private project
- Log in and go to github.com/new.
- Under Repository name, enter the name of your app, for example my-app. A repository is where your project is stored.
- A brief description under Description is optional.
- Under Visibility, select Private (not Public).
- Tick the Add README box and click Create repository.
'Private' means that your project is not visible to everyone.
02 / COLLABORATION & ISSUES
Granting access.
03 / Invite me
- Open your new repository and click on Settings at the top.
- Under ‘Access’ on the left, click on Collaborators.
- Click on Add people.
- Search for my GitHub username (ask me for it).
- Select ‘My account’ and send the invitation. I still need to accept it.
04 / Check that ‘Issues’ is enabled
- In Settings, go to General.
- Search for Features and check that Issues is ticked. Issues allows us to keep track of problems, questions and suggestions for improvement.
05 / Please send me the link
- Open your repository and copy the address at the top of your browser. For example: github.com/jouw-gebruikersnaam/mijn-app.
- Please send me the link. You can then carry on working with AI as normal.
Good to know
Never share your password. A collaborator on a personal repository can edit the code as well as view Issues.
03 / INSTALLATION
Installing Git.
Git keeps track of changes to your app’s files. GitHub stores your project online. Install Git on the computer you’re using to work on your app with AI.
06 / Windows
- Go to https://git-scm.com/download/win and download Git for Windows.
- Open the installation file and follow the steps. The default settings are sufficient.
- Open PowerShell via the Start menu and type:
git --version
Can you see a version number? If so, Git is installed.
07 / Linux
Open the Terminal via your computer’s menu. Select only the command that corresponds to your version of Linux.
Ubuntu, Debian or Linux Mint
sudo apt update
sudo apt install git
Fedora
sudo dnf install git
Arch Linux
sudo pacman -S git
Confirm the installation if prompted. Then check using:
git --version
Not sure which version of Linux you’re running? Ask your AI assistant for help.
04 / CONNECT TO GITHUB
Install GitHub CLI.
GitHub CLI (gh) is a tool that allows you to interact with GitHub via the terminal. Your AI assistant can also use it.
08 / Windows
Open PowerShell via the Start menu and run the following:
winget install --id GitHub.cli -e
Close PowerShell after installation and open it again.
09 / Linux
Open the Terminal and select the command for your version of Linux.
Ubuntu / Debian / Linux Mint
sudo apt update
sudo apt install gh
Fedora
sudo dnf install gh
Arch Linux
sudo pacman -S github-cli
Is this not working? See cli.github.com for the official installation instructions.
10 / Log in
gh --version
gh auth login
Select GitHub.com, HTTPS and confirm that Git is allowed to use your GitHub login details. Select ‘Log in via the browser’ and follow the instructions. Then check the following:
gh auth status
05 / WORKING WITH AI
Connect your app.
11 / Open your project
Open the terminal in the folder where you want to save the project. Replace the example names with your own details:
gh repo clone gebruikersnaam/mijn-app
Open the copied project folder in your AI programme. If your app already exists in another folder, ask your AI assistant to check first how you can safely transfer the existing files. Do not simply overwrite anything.
12 / Ask your AI assistant for help
For example, you could give your AI assistant the following command:
"Check that Git is installed and that my project is linked to my private repository on GitHub. Help me add my existing app securely. First, check which files must not be shared and ask for permission before uploading any changes."
13 / Save changes
A commit saves a version of your changes. A push sends that version to GitHub. A pull fetches changes from GitHub. Your AI assistant can help you with this.
Good to know
Never upload passwords, API keys or files such as .env. Do not share login details with your AI assistant either. The GitHub website is sufficient for simply creating and viewing issues.