diff --git a/meta-oe/recipes-devtools/cloc/cloc_2.08.bb b/meta-oe/recipes-devtools/cloc/cloc_2.10.bb
similarity index 74%
rename from meta-oe/recipes-devtools/cloc/cloc_2.08.bb
rename to meta-oe/recipes-devtools/cloc/cloc_2.10.bb
index 106c72974d..611a351a9b 100644
--- a/meta-oe/recipes-devtools/cloc/cloc_2.08.bb
+++ b/meta-oe/recipes-devtools/cloc/cloc_2.10.bb
@@ -4,8 +4,8 @@ in many programming languages."
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
 
-SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.gz"
-SRC_URI[sha256sum] = "ce3c86d1edb448728278079eff6d99687477b3c1fe84b2f1a4dc14cfb2f811dc"
+SRC_URI = "git://github.com/AlDanial/cloc.git;protocol=https;branch=master"
+SRCREV = "eb5cef64db2b2d4380f501568cc584b7cab4ba50"
 
 UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
