You can clone with
HTTPS or Subversion.
Here is a detailed guide about how to implement Devise with CanCan:
Setting up CanCan 1, Ruby 2, Devise 3, and Rails 4
You might also want to do it the easy way :
How to: Use cancan devise, the easy way.