Found the issue to my problem after hours of pulling my hair!
[url "ssh://[email protected]/"] insteadOf = https://github.com
it is missing a slash after .com
[url "ssh://[email protected]/"] insteadOf = https://github.com/