yes I want the whole repository except the last 2 commits, I don't need it, so how I can specific that cloning?
The normal way is to:
checkout a new branch (or reset the current branch) to
git checkout -b newBranch @~2
Other than that:
I have partners in project but we got bug in the last 2 commits
So, with SourceTree:
Once you have created an new branch, work and add new commits, then push your bugfix branch.