Removes target from git