Commits


only define nitems() if it is not already defined


add copyright


initial import; current implementation only parses the .git/HEAD ref