Skip to content


Github provides a cloud based git repo freely to those who open souece their code. Lets find an easy way to manage it.

Add ssh keys

 $ ssh-keygen -t ed25519 -C "email@domain"
 # select defaults with or without a passphrase.
 $ eval "$(ssh-agent -s)"
 $ ssh-add ~/.ssh/id_ed25519
 # Add the SSH key to your account on GitHub. 
 $ cat ~/.ssh/
 1. Select and copy the contents of the file
 2. In the upper-right corner of any page, click your profile photo, then click Settings. 
 3. In the "Access" section of the sidebar, click SSH and GPG keys.
 4. Click New SSH key or Add SSH key. 
 5. In the "Title" field, add a descriptive label for the new key. 
 6. Paste your key into the "Key" field. 
 7. Click Add SSH key. 
 8. If prompted, confirm access to your account on GitHub. For more information, see "Sudo mode."
 # Verify it Works
 $ ssh -T


 $ sudo apt install git 
 $ git config --global "email@domain"
 $ git config --global "username"
 $ cd  ~/git/
 # Need to run on each repo to commmit/push . 
 # If it is a private repo , need an access token OR ssh setup. 
 > Profile > Settings > Developer Settings > Personal Access Tokens > Generate New Token > Name it > Set Expiration > Select repos. 
 $ git clone --config core.sshCommand="ssh -i /home/$USER/.ssh/id_ed25519.pem"
 $ git clone
 $ cd repo-name
 # Allow to push via ssh keys to cloned repo.
 $ git remote set-url origin
 # Make changes and commit. 
 $ git add .
 $ git commit -m "comment"
 $ git push

IDE Version Control

 $ sudo snap install codium --classic
 # Open or git clone your repo
 # Add folder to workspace
 # Commit and push changes

Github Pages

 # Create a github repo
 # Set repo pages to include docs/
 > login > repo > Settings > Pages > Branch > set folder to docs/ 
 $ git clone
 $ cd
 # Find a template , Can start here. or - Example
 $ git clone
 $ mv architect/ docs/
 $ cd docs/
 # Only install if you want to test out locally. 
 $ sudo apt install jekyll ruby-dev
 $ vim _config.yml
 # update parameters to match your website.
 # Only run if you want to test out locally. 
 $ bundle install
 $ git add .
 $ git commit -m "commit-messsage"
 $ git push 
 # Continue to mod and make changes to the site.