fix bug error: src refspec master does not match any. if trying to create from an other branch than master.