repository in question used a git submodule with absolute url
changing the url of the submodule from ssh://git@example.com/org/.available-keys to a relative path like ../.available-keys cloning the root repository works both with https://example.com/org/.password-store and ssh://example.com/org/.password-store
repository in question used a git submodule with absolute url
changing the url of the submodule from
ssh://git@example.com/org/.available-keys
to a relative path like../.available-keys
cloning the root repository works both withhttps://example.com/org/.password-store
andssh://example.com/org/.password-store
not using submodules entirely avoids this