For me the issue was actually related to ssh-agent
ensure the ssh-agent is running by running
systemctl --user status ssh-agent.service
If the service is inactive or disabled you can run
systemctl --user start ssh-agent.service
systemctl --user enable ssh-agent.service
or simply
systemctl enable ssh-agent --now
Cheers!