get_gitdata_info separated in gitdata_info

* gitdata_info get lines from gitdata file and return files/sha1
  dictionary.