What is the predicate function to determine if a given file is under version control? (I'm using git.)
These answers are wrong.
You should use (vc-git-registered (file)). Returns t or nil.
(vc-state (file)) returns state of repository. Not a state of a single file. vc-state returns 'up-to-date on file which is not under version control but it's located in directory which us under control of GIT.