I'm assuming you're using exclamation points (!) as a prompt indicator. That seems counterintuitive, but otherwise they are instructions to your command-line shell that you want to complete to the most recent command that matches that prefix.
Passing data to another program requires knowing how that program expects data. I'm not sure git has a reliable way to do this given the https:// notation (it might support the legacy HTTP authentication method of https://user:password@host/path, but I do not recommend that). If you switch to using ssh:// notation, you can do it with git clone ssh://[email protected]/…/repo.git … but Github doesn't work with usernames that way; it always uses the same user (git) and it identifies Github users by their SSH key. This is completely automatic (no changes needed to the command line); just run git clone ssh://github.com/githubuser/repo.git after following Github's solid documentation.
If you're looking for a way to support multiple Github accounts, you may be interested in a Userscript I wrote for that exact purpose:
https://github.com/adamhotep/userscripts/blob/main/Github - UI Tweaks.user.js
This changes Github's interface to allow toggling between SSH keys that identify different accounts. Once it is set up, all you have to do is select the right item from the <> Code dialog for cloning. (It is self-documented; for instructions, click the 👥 button next to the ? button in that same dialog.)