git bare clone - list files / read files howto
# list files
git ls-tree --full-tree --name-only HEAD
# if utf
git config core.quotepath off
# read files
git show master:path/to/file
# revert bare clone
git config --local --bool core.bare false
# revert single branch on shallow clone
git remote set-branches origin '*'
git fetch --depth 1 -v
Labels: git