In azure app service Kudu console, it is easy to clone a public git repository using "git clone" command, when it comes to private repository, you may find the same "git clone" command is stuck at "Cloning" step and isn't working any more. This is simply because the repository is a private one and need to be authenticated, in the meanwhile, we need an non-interactive way since Kudu console doesn't support popped-out windows.
There are in total 3 approaches to clone the private git repository:
Approach 1 (Username & Password):
The most obvious way to fix this is to put your username and password in the git URL: