1) Create GitLab account on [wur gitlab](https://git.wur.nl/)
2) Open PuttyGen and generate a public-private key pair, for example a ssh-ed25519.
- save both in a folder on your computer, e.g. in "C:/users/user_name/.ssh/"
- copy the public key to your GitLab profile in Preferences > SSH Keys > Add an SSH key
- the format is as follows: "ssh-ed25519 AAAAC3NzaC1lZDI1NTExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
- or "ssh-rsa AAAAAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3) go to Access Tokens > Add a personal access token > select all options > create. Save your token in a password manager and keep it close
4) For enabling two-factor authentication, scan the code with your authenticator app (plus in right upper corner > other)
- save the recovery codes in a safe place or passwork manager
#### Connect
1) create group on gitlab for your project
2) create a repository (= project) on GitLab
3) click "clone" + copy link to clone with https
3) open git bash in your local folder where you want to put the repository (right mouse click > Git Bash Here)
4) type "git clone _copied_link_to_repo_ "
5) enter your wur mailadress and NOT the password, but the TOKEN you copied in the previous part step 3.
**Initialisation**
- on your local computer: go to project folder (in my case: C:\Users\adria036\OneDrive - Wageningen University & Research\iAdriaens_doc\Projects\iAdriaens\bait\code\)