git checkout -b <new-branch-name>
if you want to create new branch from no current branch :
git checkout -b <new-branch-name> <from-branch-name>
git push -u origin <branch-name>
'''-u is essential to set upstream for this local branch'''
git credential-store --file ~/git.store store
host=<host>
username=<username>
password=<pwd>
git config --global credential.helper store --file ~/git.store
git config credential.helper 'cache --timeout=86400'
installer https://github.com/Microsoft/Git-Credential-Manager-for-Windows
tapez Gestionnaire d’informations d’identification dans la zone de recherche de la barre des tâches (modifier les mdp si ils sont mauvais)
First get to the existing directory
cd <my/folder/>
git init
echo * > .gitignore
git remote add origin https://github.com/Kentico/ems-module-kontent-publishing.git
git fetch
git pull origin main --allow-unrelated-histories