Problems with the GitHub Default Remote Using SSH

Posted on Wed 28 May 2025 in git, GitHub • Tagged with git, GitHub

Second time that I have this problem, so I thought I would write it down.

When I create a new repository on GitHub, the default instructions to add the remote repository to my local git repository are:

git remote add origin git@github.com:my_username/new_repo_name.git
git branch -M main
git push -u origin main

The problem is that this assumes that I'm using the SSH protocol to connect to GitHub. However, I prefer using HTTPS for my connections. Therefore, I need to change the remote URL to use HTTPS instead of SSH. To do this, I can use the following command:

git remote set-url origin https://github.com/my_username/new_repo_name.git

To avoid this, the instructions to add the HTTPS connection directly should be:

git remote add origin https://github.com/my_username/new_repo_name.git
git branch -M main
git push -u origin main

Exploring GitHub Repos with Cool Tools

Posted on Tue 29 April 2025 in github, tools, visualization, developer workflow • Tagged with github, tools, visualization, developer workflow, deepwiki, gitpodcast, forgithub

Recently, I’ve come across a few tools to understand GitHub repos better: DeepWiki, GitPodcast, and ForGitHub.

DeepWiki: Turning Repos into Interactive Documentation

DeepWiki, developed by Cognition Labs, automatically converts any GitHub repo into a comprehensive, wiki-style documentation with interactive visualizations. What I love most is its "in-depth research" feature—it provides insights that feel like they’re coming from a senior engineer, covering design concepts, best practices, and even optimization opportunities. You can check it out at DeepWiki.

As an example, you can explore DeepWiki for SimCT.

GitPodcast: Listening to Code as a Story

GitPodcast converts any GitHub repository into an engaging podcast! Imagine listening to the evolution of a project, its commits, and its structure as a story while you’re on a walk or coding something else. It’s hosted by BandarLabs and available at GitPodcast.

This is the podcast for SimCT.

ForGitHub: Comparing Repos Side by Side

ForGitHub gives a list of cool tools and APIs that use the same URL structure as GitHub enabling you to use it by just …


Continue reading