All files from the repo (which should have LF line endings in this scenario) are converted to CRLF line endings on checkout to a Windows PC. All files are converted back to LF line endings on commit from a Windows PC.
There can be issues if we have binary files. Then better option will be to set .gitattributes for specific files
HEAD is a reference to the top of the current branch, so it's an easy way to push to a branch of the same name on the remote. This saves you from having to type out the exact name of the branch
Reverts the latest commit and appends a new commit with resulting reverted content at the tip of the branch. Provided we have not pushed the code to remote yet.
Reverts the commit with commit ref 6dfee0a and appends a new commit with resulting reverted content at the tip of the branch. Provided we have not pushed the code to remote yet.
Fetches commits, files and refs from remote repo into your local repo theryby letting you know what everyone else has been working on and how central repo has progressed. It does not merge the changes in to your local repo.