check system library remove_file, remove_symlink corrected. Git repo branch check function added. Get git repo branch function makes a check for correct branch