Phpstorm Terminal Use Git Bash
From your GitHub copy the repository URL - for example (note the.git extension at the end); Instead of AleikovStudio (my username in GitHub - use yours). Inside your PHPStorm project's folder you will need to initialize Git (btw you can drag the folder with your project into the terminal). Access bash in the php-cli container: docker-compose run -rm php-cli /bin/bash; Install Composer, by following the download instructions for Linux; Still, inside the container, install dependencies: php composer.phar install; Exit the container exit; Note: In Linux, using the second method Composer will create the vendor folder as root!
Set passwords for Git remotes
Intellij Use Git Bash
Every time you interact with a remote Git repository (for example, during a pull, update, or push operation), it requires authorization. You can configure PhpStorm to remember your passwords so that you do not have to specify your credentials each time authorization is required.
Configure a password policy
In the Settings/Preferences dialog Ctrl+Alt+S, select Appearance and Behavior | System Settings | Passwords on the left.
Select how you want PhpStorm to process passwords for Git remote repositories:
In native Keychain: select this option to use native Keychain to store your passwords. This setting is only available for MacOS and Linux.
In KeePass: select this option to use the KeePass password manager to store your passwords. When you use the KeePass password manager, a master password will be used to access the file that stores individual passwords. Once PhpStorm remembers your passwords, it will not ask for them unless you need to access the passwords database. Enter the password that will be used to access the c.kdbx file in the MasterPassword field.
You can change the default location of the c.kdbx file in the Database field.
To import a c.kdbx file, click and select Import from the drop-down menu, or click and specify the path to a local file containing your passwords.
If you want to remove the existing passwords from the database, select Clear.
Do not save, forget passwords after restart: select this option if you want your passwords to be reset after you close PhpStorm.