add change directory for get commit version
only one line