diff --git a/setup.sh b/setup.sh
index 9b9890e8df75fc41c6643b379375deb007e35aae..74482799e9c1243db22b30abcad984c89187de64 100755
--- a/setup.sh
+++ b/setup.sh
@@ -6,9 +6,8 @@ source config.sh
 # and configurations.
 function remove_all_configs() {
     echo "Removing all previous configs..."
-    git clean -fd
-    git pull
     rm -rf $MUMBLE_DIR $JITSI_DIR $NOVNC_DIR
+    git pull
     echo "Removed all repositories."
 }