fix bug in clobber_copy
check for invalid checkouts
track current head
refactor file read/write operations
use refactored method in one more place
require explicit initialization of repository
print help for invalid commands
store date & add log function