commit to a specific branch in git code example
Example: git create branch with specific commit
# Create a new branch from previous commit's hash
git branch develop 04c900c
# Push the new branch to remote repository
git push --set-upstream origin develop
# Checkout the new branch
git checkout develop