CEIT Open Course Content

Git version control system

Download Git

Download Git

Initial configuration commands

git config --global user.name "Your Name"
git config --global user.email "your_email@example.com"

Get course sample code

To clone the Git repository containing the sample code, run the git command as given below:

    git clone https://git.ceit.pdn.ac.lk/full-stack-with-java.git/

Access an SSH key secured Git repository from Windows OS

To view text clearly, you may have to play the video at a higher resolution and use the fullscreen mode.

Show on the video:

  1. Install Git software.
  2. Enable OpenSSH Client (Via "Manage optional features" system settings).
  3. Enable OpenSSH Authentication Agent to start automatically (Via "Services" app).
  4. Generate ssh keys (By using ssh-keygen command).
  5. Add ssh key to the ssh agent (By using ssh-add command).
  6. Configure Git to use Windows OpenSSH client (Set GIT_SSH environment variable to "C:\Windows\System32\OpenSSH\ssh.exe").
  7. Perform a Git operation.