Try:
git "/home/ubuntu/brukva" do
repository "git://github.com/kmerenkov/brukva.git"
revision "master"
action :sync
user "ubuntu"
end
It does nothing if your target directory exists when using :checkout
because it assumes your checkout is done already, you can see chef tells "up to date".
Refer to the source of git provider