List files in local Git repo?

Question

I'm using SparkleShare, which uses Git to sync files between my laptop and my backup server.

Now I want to be able to browse the files and dirs that I've uploaded to my server, but I do not know how.

I understand that Git uses some sort of special file hierarchy and that I cannot just list my files, right?

But what would I have to do to list them and browse my files?

Answer

This command:

git ls-tree --full-tree -r --name-only HEAD

lists all of the already committed files being tracked by your git repo.

Is there a "theirs" version of "git merge -s ours"?

fatal: Not a valid object name: 'master'