master means main, so this name is usually used to name the main branch. HEAD is not a branch, but a pointer to the branch where the current local environment is located. But here it seems that you regarded it as a branch name and pushed it to the remote end, becoming a remote branch.
master means main, so this name is usually used to name the main branch. HEAD is not a branch, but a pointer to the branch where the current local environment is located. But here it seems that you regarded it as a branch name and pushed it to the remote end, becoming a remote branch.
HEAD is the current branch, so it is no different from master (because you only have one branch, master)
See similar answers