diff --git a/var/spack/repos/builtin/packages/amg/package.py b/var/spack/repos/builtin/packages/amg/package.py
index f2745ed26d6bcebfe5a5dda702da579aa00c588c..271c1ba0fc2bfc39a4721bf738fd2391784e763a 100644
--- a/var/spack/repos/builtin/packages/amg/package.py
+++ b/var/spack/repos/builtin/packages/amg/package.py
@@ -33,7 +33,7 @@ class Amg(MakefilePackage):
     tags = ['proxy-app', 'ecp-proxy-app']
 
     homepage = "https://codesign.llnl.gov/amg2013.php"
-    git      = "https://github.com/LLNL/AMG"
+    git      = "https://github.com/LLNL/AMG.git"
 
     version('develop', branch='master')
     version('1.0', tag='1.0')
diff --git a/var/spack/repos/builtin/packages/branson/package.py b/var/spack/repos/builtin/packages/branson/package.py
index 999a08d89162563546ceb3b5a5d643907c072f2e..a5bf0d4f7f39cb0ade9f6063d76be5afb3469992 100644
--- a/var/spack/repos/builtin/packages/branson/package.py
+++ b/var/spack/repos/builtin/packages/branson/package.py
@@ -32,7 +32,7 @@ class Branson(CMakePackage):
 
     homepage = "https://github.com/lanl/branson"
     url      = "https://github.com/lanl/branson/archive/1.01.zip"
-    git      = "https://github.com/lanl/branson"
+    git      = "https://github.com/lanl/branson.git"
 
     tags = ['proxy-app']
 
diff --git a/var/spack/repos/builtin/packages/foam-extend/package.py b/var/spack/repos/builtin/packages/foam-extend/package.py
index 9d103b914bb9f11f127a639b6acfbc0dfa7b94bf..7de30232a3c8f89a27074d5cfb59b0a4126ebdcc 100644
--- a/var/spack/repos/builtin/packages/foam-extend/package.py
+++ b/var/spack/repos/builtin/packages/foam-extend/package.py
@@ -76,10 +76,10 @@ class FoamExtend(Package):
 
     homepage = "http://www.extend-project.de/"
 
-    version('4.0', git='http://git.code.sf.net/p/foam-extend/foam-extend-4.0')
-    version('3.2', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.2')
-    version('3.1', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.1')
-    version('3.0', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.0')
+    version('4.0', git='http://git.code.sf.net/p/foam-extend/foam-extend-4.0.git')
+    version('3.2', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.2.git')
+    version('3.1', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.1.git')
+    version('3.0', git='http://git.code.sf.net/p/foam-extend/foam-extend-3.0.git')
 
     # variant('int64', default=False,
     #         description='Compile with 64-bit label')
diff --git a/var/spack/repos/builtin/packages/hoomd-blue/package.py b/var/spack/repos/builtin/packages/hoomd-blue/package.py
index a0093a30cb6518dbf89483da408d514a00d00844..c8808549dce48f60591ce98fd76d4a7365c60696 100644
--- a/var/spack/repos/builtin/packages/hoomd-blue/package.py
+++ b/var/spack/repos/builtin/packages/hoomd-blue/package.py
@@ -37,7 +37,7 @@ class HoomdBlue(CMakePackage):
     and perform in situ analysis."""
 
     homepage = "http://glotzerlab.engin.umich.edu/hoomd-blue/"
-    git      = "https://bitbucket.org/glotzer/hoomd-blue"
+    git      = "https://bitbucket.org/glotzer/hoomd-blue.git"
 
     version('develop', submodules=True)
 
diff --git a/var/spack/repos/builtin/packages/hpctoolkit-externals/package.py b/var/spack/repos/builtin/packages/hpctoolkit-externals/package.py
index 78f33e161d10048ea2ab0b7ec50532bb0ba48106..6b836eb838c0cfe4eb4d87f07b07878c03408031 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit-externals/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit-externals/package.py
@@ -30,7 +30,7 @@ class HpctoolkitExternals(Package):
     HpctoolkitExternals package provides all these prerequisites."""
 
     homepage = "http://hpctoolkit.org"
-    git      = "https://github.com/HPCToolkit/hpctoolkit-externals"
+    git      = "https://github.com/HPCToolkit/hpctoolkit-externals.git"
 
     version('master')
     version('2017.06', tag='release-2017.06')
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py
index 9dfa96d7d877f9a952b3ff1d6c3f67d7d647f00e..5943b7f2d2608973c8429b6e22fd94f56d63940b 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py
@@ -34,7 +34,7 @@ class Hpctoolkit(Package):
     and attributes them to the full calling context in which they occur."""
 
     homepage = "http://hpctoolkit.org"
-    git      = "https://github.com/HPCToolkit/hpctoolkit"
+    git      = "https://github.com/HPCToolkit/hpctoolkit.git"
 
     version('master')
     version('2017.06', tag='release-2017.06')
diff --git a/var/spack/repos/builtin/packages/intel-xed/package.py b/var/spack/repos/builtin/packages/intel-xed/package.py
index 5905868ae3f7b128d169c814794c41620f1ac455..3fe66b9f6f0253f2d0819bc7394839f0fa7d69ce 100644
--- a/var/spack/repos/builtin/packages/intel-xed/package.py
+++ b/var/spack/repos/builtin/packages/intel-xed/package.py
@@ -38,7 +38,7 @@ class IntelXed(Package):
     version('2018.02.14', commit='44d06033b69aef2c20ab01bfb518c52cd71bb537')
 
     resource(name='mbuild',
-             git='https://github.com/intelxed/mbuild',
+             git='https://github.com/intelxed/mbuild.git',
              commit='bb9123152a330c7fa1ff1a502950dc199c83e177',
              destination='')
 
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py
index 238e56500a8167808b472b17c4177b035204fcc5..b05f566cb24cea2a6c41593d6f66708ad1e98013 100644
--- a/var/spack/repos/builtin/packages/lammps/package.py
+++ b/var/spack/repos/builtin/packages/lammps/package.py
@@ -35,7 +35,7 @@ class Lammps(CMakePackage):
     """
     homepage = "http://lammps.sandia.gov/"
     url      = "https://github.com/lammps/lammps/archive/patch_1Sep2017.tar.gz"
-    git      = "https://github.com/lammps/lammps"
+    git      = "https://github.com/lammps/lammps.git"
 
     tags = ['ecp', 'ecp-apps']
 
diff --git a/var/spack/repos/builtin/packages/mad-numdiff/package.py b/var/spack/repos/builtin/packages/mad-numdiff/package.py
index b4a0235f5555cfceab3233321881461a934f07bb..6003072b2b205696ca178e21d153a0dbbdc8d9be 100644
--- a/var/spack/repos/builtin/packages/mad-numdiff/package.py
+++ b/var/spack/repos/builtin/packages/mad-numdiff/package.py
@@ -31,7 +31,7 @@ class MadNumdiff(CMakePackage):
 
     homepage = "https://github.com/quinoacomputing/ndiff"
     url      = "https://github.com/quinoacomputing/ndiff/tarball/20150724"
-    git      = "https://github.com/quinoacomputing/ndiff"
+    git      = "https://github.com/quinoacomputing/ndiff.git"
 
     version('develop', branch='master')
     version('20150724', '7723c0f2499aea8fd960377c5bed28d8')
diff --git a/var/spack/repos/builtin/packages/pgmath/package.py b/var/spack/repos/builtin/packages/pgmath/package.py
index 9358d353cedc308f9e7343898a37ed66af193006..45a9c77bc332300177e8b5246c1fe54ce2b51667 100644
--- a/var/spack/repos/builtin/packages/pgmath/package.py
+++ b/var/spack/repos/builtin/packages/pgmath/package.py
@@ -30,7 +30,7 @@ class Pgmath(CMakePackage):
     """Flang's math library"""
 
     homepage = "https://github.com/flang-compiler/flang"
-    git      = "https://github.com/flang-compiler/flang"
+    git      = "https://github.com/flang-compiler/flang.git"
 
     version('develop', branch='master')
 
diff --git a/var/spack/repos/builtin/packages/poppler/package.py b/var/spack/repos/builtin/packages/poppler/package.py
index 3d168c1cdcf94e654b9daf793e4030264c3194bd..03ad826327efdd4d1cc00c4387ef20626d26042a 100644
--- a/var/spack/repos/builtin/packages/poppler/package.py
+++ b/var/spack/repos/builtin/packages/poppler/package.py
@@ -70,7 +70,7 @@ class Poppler(CMakePackage):
     # Only needed to run `make test`
     resource(
         name='test',
-        git='https://anongit.freedesktop.org/git/poppler/test',
+        git='https://anongit.freedesktop.org/git/poppler/test.git',
         placement='testdata'
     )
 
diff --git a/var/spack/repos/builtin/packages/ruby-narray/package.py b/var/spack/repos/builtin/packages/ruby-narray/package.py
index 97d30d96d4762b852934f21b7a8ce6fdb50b80b8..1f9922cf019bc2266c082e23d65ceb9f9a8ddb88 100644
--- a/var/spack/repos/builtin/packages/ruby-narray/package.py
+++ b/var/spack/repos/builtin/packages/ruby-narray/package.py
@@ -31,7 +31,7 @@ class RubyNarray(Package):
        similar to numpy.ndaray."""
 
     homepage = "https://rubygems.org/gems/narray"
-    git      = "https://github.com/ruby-numo/narray"
+    git      = "https://github.com/ruby-numo/narray.git"
 
     version('0.9.0.9', commit='9cadbbccf1e01b6d1bc143c19d598cad1c420869')
 
diff --git a/var/spack/repos/builtin/packages/sw4lite/package.py b/var/spack/repos/builtin/packages/sw4lite/package.py
index 75ed9ac76ed176f71e2033fff5d31dfa7089265e..d6358f98a9dee51c17d29915e9b1ed22abbe6847 100644
--- a/var/spack/repos/builtin/packages/sw4lite/package.py
+++ b/var/spack/repos/builtin/packages/sw4lite/package.py
@@ -34,7 +34,7 @@ class Sw4lite(MakefilePackage):
 
     homepage = "https://geodynamics.org/cig/software/sw4"
     url      = "https://github.com/geodynamics/sw4lite/archive/v1.0.zip"
-    git      = "https://github.com/geodynamics/sw4lite"
+    git      = "https://github.com/geodynamics/sw4lite.git"
 
     version('develop', branch='master')
     version('1.0', '3d911165f4f2ff6d5f9c1bd56ab6723f')
diff --git a/var/spack/repos/builtin/packages/swfft/package.py b/var/spack/repos/builtin/packages/swfft/package.py
index 1ffecb82cedc3236cd885c2e59d8e337c856eb5e..21ccabfb46a1e78fa8cd6112b49e80c4c16cf559 100644
--- a/var/spack/repos/builtin/packages/swfft/package.py
+++ b/var/spack/repos/builtin/packages/swfft/package.py
@@ -32,7 +32,7 @@ class Swfft(MakefilePackage):
 
     homepage = "https://xgitlab.cels.anl.gov/hacc/SWFFT"
     url      = "https://xgitlab.cels.anl.gov/api/v4/projects/hacc%2FSWFFT/repository/archive.tar.gz?sha=v1.0"
-    git      = "https://xgitlab.cels.anl.gov/hacc/SWFFT"
+    git      = "https://xgitlab.cels.anl.gov/hacc/SWFFT.git"
 
     version('1.0', '0fbc34544b97ba9c3fb19ef2d7a0f076')
     version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index b91811e17be529c7c8bfa6f8ab7942f2e256f7f9..b16d00bb65a79ade210e6895cc2bfa8315ce9471 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -191,12 +191,12 @@ class Trilinos(CMakePackage):
             description='Enable ForTrilinos')
 
     resource(name='dtk',
-             git='https://github.com/ornl-cees/DataTransferKit',
+             git='https://github.com/ornl-cees/DataTransferKit.git',
              tag='master',
              placement='DataTransferKit',
              when='+dtk')
     resource(name='fortrilinos',
-             git='https://github.com/trilinos/ForTrilinos',
+             git='https://github.com/trilinos/ForTrilinos.git',
              tag='develop',
              placement='packages/ForTrilinos',
              when='+fortrilinos')