==================================================================================== === Создать новую ветку: === ==================================================================================== # git checkout -b feature/newbranch git push --set-upstream origin feature/newbranch ==================================================================================== === Получить дату создания файла: === ==================================================================================== # git log --follow --format=%ad --date default | tail -1 ==================================================================================== === Клонировать репозиторий в новый репозиторий (https://docs.github.com/en/repositories/creating-and-managing-repositories/duplicating-a-repository): ==================================================================================== # == Create a bare clone of the repository == git clone --bare https://github.com/EXAMPLE-USER/OLD-REPOSITORY.git == Mirror-push to the new repository == cd OLD-REPOSITORY.git git push --mirror https://github.com/EXAMPLE-USER/NEW-REPOSITORY.git == Remove the temporary local repository you created earlier == cd .. rm -rf OLD-REPOSITORY.git ==================================================================================== === Клонировать конкретную ветку: ==================================================================================== # git clone -b