Tricks for interacting with a branch, without checking it out.
Browse a directory (like ls): Syntax:
See contents of a file (command as above): Syntax:
Checkout a specific file or directory from a different branch: Syntax:
Note: There are other ways to do similar tasks such as git ls-tree and they may have more options. However I find these to be more accessible and easy to remember.